package cn.seaboot.admin.security.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.Size;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * POJO
 * 系统地址信息 [t_sys_security_url]
 *
 * @author Mr.css
 * @version 2021-06-16 11:50
 */
@Schema(description = "系统地址信息 [t_sys_security_url] 实体类")
public class SecurityUrl implements Serializable {

    private static final long serialVersionUID = 3028265208801207807L;
    /**
     * ID
     */
    @NotNull
    @Size(max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 地址
     */
    @Size(max = 128)
    @Schema(description = "地址")
    private String antPath;
    /**
     * 哈希码
     */
    @Schema(description = "哈希码")
    private Integer hashCode;
    /**
     * 请求方式
     */
    @Size(max = 8)
    @Schema(description = "请求方式")
    private String requestMethod;
    /**
     * 鉴权类型
     */
    @Size(max = 64)
    @Schema(description = "鉴权类型")
    private String authorityType;
    /**
     * 权限表达式
     */
    @Size(max = 64)
    @Schema(description = "权限表达式")
    private String expression;
    /**
     * 是否可用
     */
    @Schema(description = "是否可用")
    private Boolean disabled;
    /**
     * 接口描述
     */
    @Size(max = 128)
    @Schema(description = "接口描述")
    private String description;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAntPath() {
        return antPath;
    }

    public void setAntPath(String antPath) {
        this.antPath = antPath;
    }

    public Integer getHashCode() {
        return hashCode;
    }

    public void setHashCode(Integer hashCode) {
        this.hashCode = hashCode;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getAuthorityType() {
        return authorityType;
    }

    public void setAuthorityType(String authorityType) {
        this.authorityType = authorityType;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}